package com.nslt.service;

import com.nslt.dao.UsersDao;
import com.nslt.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UsersServiceImpl implements UsersService{

    @Autowired
    private UsersDao usersDao;

    public List<Users> findAllUsers(){

        return (List<Users>) usersDao.findAllUsers();
    }
}
